﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/MasterPage.Master" AutoEventWireup="true"
    CodeBehind="Add.aspx.cs" Inherits="Token.Piker.Web.Admin.NewsAlbum.Add" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <title>添加新闻图片</title>
    <style type = "text/css">
        #rightbar p
        {
            height:auto;
            padding-top:10px;
            padding-bottom:10px;
        }
        #rightbar p label
        {
            display:inline-block;
            width:100px;
            height:25px;
        }
    </style>
    <script src="../js/My97DatePicker/WdatePicker.js" type="text/javascript"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <p>
        <label for="txtAlbumName">
            事件：</label>
        <asp:TextBox ID="txtAlbumName" runat="server" Text="" Width="200" Height="25"></asp:TextBox>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" ControlToValidate="txtAlbumName"
            runat="server" ErrorMessage="*请输入事件"></asp:RequiredFieldValidator>
    </p>
    <p>
        <label for="txtDescrip">
            描述:</label>
        <asp:TextBox ID="txtDescrip" TextMode="MultiLine" runat="server" Width="300" Rows="5">
        </asp:TextBox>
    </p>
    <p>
        <label for="txtShotTime">
            时间：</label>
        <asp:TextBox ID="txtShotTime" runat="server" Width="200" Height="25" onFocus="WdatePicker()"></asp:TextBox>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" ControlToValidate="txtShotTime"
            runat="server" ErrorMessage="*请选择时间"></asp:RequiredFieldValidator>
    </p>
    <p>
        <label for="txtShotPosition">
            地点：
        </label>
        <asp:TextBox ID = "txtShotPosition" runat =  "server" Width = "200" Height = "25"></asp:TextBox>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator3" ControlToValidate = "txtShotPosition" runat="server" ErrorMessage="*请输入活动地点"></asp:RequiredFieldValidator>
    </p>
    <p>
        <asp:Button ID="btnAdd" runat="server" Text="添加" Width="100" Height="25" OnClick="btnAdd_Click" />&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:Button ID="btnCancel" runat="server" Text="取消" CausesValidation="false" Width="100"
            Height="25" OnClick="btnCancel_Click" />
    </p>
</asp:Content>
